package com.ls.blog.api;


import com.ls.blog.exception.TokenNotFoundException;
import com.ls.blog.exception.TokenParseException;
import com.ls.blog.vo.UserInfo;

/**
 * @program: myblog
 * @author: lishun
 * @create: 2021-07-09 09:45
 **/
public interface TokenService {
    /**
     * 解析token
     * @param token
     * @return
     */
    UserInfo tokenParse(String token) throws TokenNotFoundException, TokenParseException, Exception;
}
